import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import router from './router/index'
import store from './store/index'
import echarts from 'echarts';
import '@/api/login'
import '@/styles/index.less'
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
Vue.use(ElementUI) // 使用element
const studentList = JSON.parse(window.localStorage.getItem('student')) || []
window.localStorage.setItem('student', JSON.stringify(studentList))
new Vue({
  router,
  store,
  render: h => h(App), // 去看App.vue
}).$mount('#app')